﻿<pre>bool(true)
</pre><!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <title>来加健康服务网_读报告</title>
    <meta name="Keywords" content="">
    <meta name="Description" content="">
    <!-- 移动设备支持 -->
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
    <meta content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">
    <meta content="no-cache,must-revalidate" http-equiv="Cache-Control">
    <meta content="no-cache" http-equiv="pragma">
    <meta content="0" http-equiv="expires">
    <meta content="telephone=no, address=no" name="format-detection">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
    <link type="text/css" rel="stylesheet" href="Public/mobile/js/layer/skin/layer.css?1"/>
  	<link href="Public/mobile/css/reset.css?165" rel="stylesheet" type="text/css">
    <link href="Public/mobile/personal/css/explain.css" rel="stylesheet" type="text/css">
  	<link href="Public/mobile/personal/css/new.css" rel="stylesheet" type="text/css">
  	
    <script type="text/javascript">
      function onImageError(obj){
        obj.src="Public/home/images/default.gif";
    }
    </script>
</head>
<body>
<div id="wrap">
    <header class="header">
                    <a id="btn_common_go_back" class="fhbtn" href="javascript:;"></a>
                    <h2>咨询详情</h2>
                                                        </header>
    
    <div>
        <div class="dot_top1">
            <img class="tx" src="http://dbg.vip120.com/Uploads/images/doctor/201609/h_1474437325.jpg" onerror="onImageError(this)">
            <h3>邱医生<img width="16" src="Public/mobile/images/dot_icon.png" ></h3>
            <p class="f12">全科&nbsp;|&nbsp;健康专家</p>
            <p>福建省人民医院（中医药大学附属）</p>
        </div>
        <div class="dh-m">
            <p class="shijian">2016-10-19　19:56:26</p>
            <table class="dh-cont" width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                    <td><p>asdgshjklkjfghlj;lkjhgfdsfghjkl                                            </p><i class="dh-icon"></i></td>
                    <td width="55"><img class="dh-tx" src="" onerror="onImageError(this)"></td>
                </tr>
            </table>



                        <!--对方对话结束-->

            <div class="pj_abox">
                                    <a href="javascript:;"><span>等待医生回复</span><i class="i2"></i></a>
                            </div>
        </div>
        <div class="h70"></div>
                            <table class="dh-foot" width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                   <!-- <td width="60"><a class="icon-shangchuantupian" href="javascript:;"></a></td>-->
                    <input type="hidden" value="167" id="que_id">
                    <td style="padding:0 10px;"><input class="dh-input" type="text" id="content"></td>
                        <td width="80"><a class="dh-btn" href="javascript:;">发送</a></td>
                </tr>
            </table>
                    </div>
    <div class="pj_box" id="dp_box" style="display: none;max-width: 640px;width: 100%">
        <form id="comment_form">
            <h2 style="background: red">本次服务评价</h2>
            <a id="dp_box_close" class="del_pj" href="javascript:;"></a>
            <input type="hidden" name="doctor_id" id="doctor_id" value="3">
            <input type="hidden" name="satisfaction" id="satisfaction">
            <input type="hidden" name="id" id="id" value="167">

            <div class="pj_img">
                <a class="hover" href="javascript:;" title="一般，还能接受~" data-sta="0"></a>
                <a href="javascript:;" title="满意~~~" data-sta="1"></a>
                <a href="javascript:;" title="非常满意~~~" data-sta="2"></a>
            </div>
            <p id="comment">很满意~~~</p>
            <a class="pj_btn" href="javascript:;">提交</a>
        </form>
    </div>
  </div>
<script type="text/javascript">
  	// 定义一些常量
	var __public='/Public';
    //访问入口类型，值有：weixin微信,normal普通浏览器
	var __access_type__="normal";
	var __indexUrl__="/";//默认的首页地址,即当返回到顶层时的地址
  var __root__="/";//根目录地址
  var __appId = null;
  var __timestamp = null;
  var __nonceStr = null;
  var __signature = null;
  if(__access_type__ == 'weixin'){
      // 定义一些常量
      __appId = "";              // 必填，公众号的唯一标识
      __timestamp = "";  // 必填，生成签名的时间戳
      __nonceStr = "";           // 必填，生成签名的随机串
      __signature = "";  // 必填，签名，见附录1
  }
</script>
<script type="text/javascript" src="http://libs.baidu.com/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="Public/mobile/js/layer/layer.js?1"></script> 
<script type="text/javascript" src="Public/mobile/js/common.js?5"></script>
  	
    <script type="text/javascript">
        $(function () {

            $('html, body, #wrap').animate({scrollTop: $(document).height()}, 300);

            var click_flag = 1;
            $(document).on(eventMap("click"), '.dh-btn', function () {

                if (click_flag == 0)
                    return;
                var content=$('#content').val();

                var question_id=$('#que_id').val();

                if(content==null||content==''){
                    zk_alert_msg('发送内容不能为空，请重新输入！');
                    return;
                }

                $.ajax({
                    type:'post',
                    url:'/Mobile/Member/send_que_answer.html',
                    dataType:'json',
                    data:{content:content,question_id:question_id},
                    success:function(res){
                        if(res.status){
                            location.replace(location.href);
                        }
                        else{
                            zk_alert_msg(res.msg);
                        }
                    }
                });
                click_flag=0;
            });

            $(document).on('mouseover touchend','.pj_img a',function(){
                $(this).addClass('hover').prevAll().addClass('hover').end().nextAll().removeClass('hover');
                $("#comment").text($(this).attr('title'));
                $('#satisfaction').val($(this).attr('data-sta'));
            });

            $(document).on(eventMap("click"),'.pj_btn',function(){
                $.post('/Mobile/Member/do_consult_comment.html',$("#comment_form").serialize(),function(res){
                    if(res.status==1){
                        zk_alert_msg('感谢您的点评!',1,function(){
                            $('#dp_box_close').trigger(eventMap('click'));
                            location.replace(location.href);
                        });
                    }
                    else{
                        zk_alert_msg(res.msg);
                    }
                },'json')
            })

        });
    </script>
<script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "Public/mobile/js/hm.js";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();
</script>
</body>
</html>